package com.sale.service;

import java.math.BigDecimal;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient("pay-service")
public interface PayService {

	@GetMapping( "/pay")
	void doPay(@RequestParam("money") BigDecimal money);
}
